package edu.jmu.dao;

import edu.jmu.domain.Picture;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PictureDao {

    void deletePicture(@Param("id")int newsId);

    List<Picture> findByNewsId(@Param("id")int newsId);

    void savePicture(@Param("picture")Picture picture);

}
